package com.tnl.app.entity;

import java.io.Serializable;
import java.sql.Timestamp;

public class Employee extends Person implements Serializable{

  public enum State {
	 generated,binded,auditing,approved,rejected, active,inactive;
  }
  private static final long serialVersionUID = 1L;
  public static int activate = 1;
  public static int inactivate = 0;
  // private ArrayList <String> expectCompanies = new ArrayList <String>();
  private Integer expectJob;
  private String expectJobName;
  
  private int intentTime;
  private int expectCompany1;
  private int expectCompany2;
  private int expectCompany3;
  private String expectCompanyName1;
  private String expectCompanyName2;
  private String expectCompanyName3;
  private int majorDomainId1;
  private int majorDomainId2;
  private int majorDomainId3;
  private String majorDomain1;
  private String majorDomain2;
  private String majorDomain3;
  
  
  private String fileName;
  private int completed; // 0- 1- --1

  private String comment;
  private int personId;
  private int empid;
  
  private Company company; // name ,id 都是唯一的。
  
  private String secureCode;
  private Timestamp ExpiredTime;
  private String headImgUrl;
  private String imgUrl;
  private String state;
  private int subDomainId;
  private int subDomainName;
  
  /*****/
  private int domainId;
  private String domainName;
  private int registed;
  private String jobName;
  private String phone;
  private String openid;
  private int active;
  
  public Employee() {
    super();
    expectJob = 0;
    intentTime = 0;
    expectCompany1 = 0;
    expectCompany2 = 0;
    expectCompany3 = 0;
    domainId = 0;

    fileName = "";
    completed = 0;
    registed = 0;
//    setDomainId(0);
    comment = "";
    active = 0;
  }

  public Integer getExpectJob() {
    return expectJob;
  }

  public void setExpectJob(Integer expectJob) {
    this.expectJob = expectJob;
  }

  public int getIntentTime() {
    return intentTime;
  }

  public void setIntentTime(int intentTime) {
    this.intentTime = intentTime;
  }

  public int getExpectCompany1() {
    return expectCompany1;
  }

  public void setExpectCompany1(int expectCompany1) {
    this.expectCompany1 = expectCompany1;
  }

  public int getExpectCompany3() {
    return expectCompany3;
  }

  public void setExpectCompany3(int expectCompany3) {
    this.expectCompany3 = expectCompany3;
  }

  public int getExpectCompany2() {
    return expectCompany2;
  }

  public void setExpectCompany2(int expectCompany2) {
    this.expectCompany2 = expectCompany2;
  }

  public String getFileName() {
    return fileName;
  }

  public void setFileName(String fileName) {
    this.fileName = fileName;
  }

  public int getMajorDomainId1() {
    return majorDomainId1;
  }

  public void setMajorDomainId1(int majorDomainId1) {
    this.majorDomainId1 = majorDomainId1;
  }

  public int getMajorDomainId2() {
    return majorDomainId2;
  }

  public void setMajorDomainId2(int majorDomainId2) {
    this.majorDomainId2 = majorDomainId2;
  }

  public int getMajorDomainId3() {
    return majorDomainId3;
  }

  public void setMajorDomainId3(int majorDomainId3) {
    this.majorDomainId3 = majorDomainId3;
  }

  public String getMajorDomain1() {
    return majorDomain1;
  }

  public void setMajorDomain1(String majorDomain1) {
    this.majorDomain1 = majorDomain1;
  }

  public String getMajorDomain2() {
    return majorDomain2;
  }

  public void setMajorDomain2(String majorDomain2) {
    this.majorDomain2 = majorDomain2;
  }

  public String getMajorDomain3() {
    return majorDomain3;
  }

  public void setMajorDomain3(String majorDomain3) {
    this.majorDomain3 = majorDomain3;
  }

  public int getCompleted() {
    return completed;
  }

  public void setCompleted(int completed) {
    this.completed = completed;
  }

  public Company getCompany() {
    return company;
  }

  public void setCompany(Company company) {
    this.company = company;
  }

  public String getComment() {
    return this.comment;
  }

  public void setComment(String comments) {
    this.comment = comments;
  }

  public int getPersonId() {
    return personId;
  }

  public void setPersonId(int personId) {
    this.personId = personId;
//    super.setId(personId);
  }

  public int getEmpid() {
    return empid;
  }

  public void setEmpid(int empid) {
    this.empid = empid;
  }

  public String getExpectCompanies() {
    return expectCompany1 + "," + expectCompany2 + "," + expectCompany3;
  }

  

  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public String getExpectCompanyName1() {
    return expectCompanyName1;
  }

  public void setExpectCompanyName1(String expectCompanyName1) {
    this.expectCompanyName1 = expectCompanyName1;
  }

  public String getExpectCompanyName2() {
    return expectCompanyName2;
  }

  public void setExpectCompanyName2(String expectCompanyName2) {
    this.expectCompanyName2 = expectCompanyName2;
  }

  public String getExpectCompanyName3() {
    return expectCompanyName3;
  }

  public void setExpectCompanyName3(String expectCompanyName3) {
    this.expectCompanyName3 = expectCompanyName3;
  }


  public String getSecureCode() {
    return secureCode;
  }

  public void setSecureCode(String secureCode) {
    this.secureCode = secureCode;
  }

  public Timestamp getExpiredTime() {
    return ExpiredTime;
  }

  public void setExpiredTime(Timestamp expiredTime) {
    ExpiredTime = expiredTime;
  }

  public String getHeadImgUrl() {
    return headImgUrl;
  }

  public void setHeadImgUrl(String headImgUrl) {
    this.headImgUrl = headImgUrl;
  }

  public String getImgUrl() {
    return imgUrl;
  }

  public void setImgUrl(String imgUrl) {
    this.imgUrl = imgUrl;
  }

  public String getExpectJobName() {
    return expectJobName;
  }

  public void setExpectJobName(String expectJobName) {
    this.expectJobName = expectJobName;
  }

public int getSubDomainId() {
	return subDomainId;
}

public void setSubDomainId(int subDomainId) {
	this.subDomainId = subDomainId;
}

public int getSubDomainName() {
	return subDomainName;
}

public void setSubDomainName(int subDomainName) {
		this.subDomainName = subDomainName;
}

public int getDomainId() {
	return domainId;
}

public void setDomainId(int domainId) {
	this.domainId = domainId;
}

public String getDomainName() {
	return domainName;
}

public void setDomainName(String domainName) {
	this.domainName = domainName;
}

public int getRegisted() {
	return registed;
}

public void setRegisted(int registed) {
	this.registed = registed;
}

public String getJobName() {
	return jobName;
}

public void setJobName(String jobName) {
	this.jobName = jobName;
}

public String getPhone() {
	return phone;
}

public void setPhone(String phone) {
	this.phone = phone;
}

public String getOpenid() {
	return openid;
}

public void setOpenid(String openid) {
	this.openid = openid;
}

public int getActive() {
	return active;
}

public void setActive(int active) {
	this.active = active;
}

 

}
